package my.headfirstjava.command.restaurant;

import java.util.ArrayList;
import java.util.List;

/**
 * author: xl
 * time: 2018/11/6 14:22
 * description:
 **/
public class Test {

    public static void main(String[] args) {
        Custom custom = new Custom();
        List menuList =new ArrayList();
        menuList.add("辣椒炒肉");
        Command kitchenCommand = new kitchen();
        Command orderCommand = new Order(kitchenCommand);
        custom.order(orderCommand,menuList);



    }


}
